Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix random duplication and/or spamming by backup timer #38

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tomrhollis
Copy link
Contributor

Combined the two callbacks assigned to backupIntervalTimer. After that, I had trouble figuring out what was causing the issues and ended up doing a complete rewrite. Still had some issues where it seems timers were elapsing a few milliseconds before they should and seeing the time a few milliseconds away as the next backup time. Added a 2 second buffer. Now it seems to be perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant